"""
11 - Dars
"""
NAME = 'John'
AGE = 30

print('My name is ' + NAME + '. I\'m ' + str(AGE))
print('My name is %(sham)s. I\'m %(age1)d' %{'sham': NAME, 'age1': AGE})
# print("My name is %s. I\'m %d" %(NAME, AGE))
# print('Title: %s, Price: %.2f' %('Sony', 40))

# format
# print('My name is {}. I\'m {}'.format(NAME, AGE))
# print('My name is {0}. I\'m {1}'.format(NAME, AGE))
# print('My name is {1}. I\'m {0}'.format(NAME, AGE))
# print('My name is {name}. I\'m {age}'.format(name=NAME, age=AGE))

# f-strings
print(f'My name is {NAME}. I\'m {AGE}')
print(f'My name is {NAME}. I\'m {AGE + 5}')
# print('5 + 2 = {}'.format(5 + 2))
print(f'5 + 2 = {5 + 2}')
